package Demo1_myBatisFirstExample.vo;

//@Alias("user1")
public class UserAlias {

    private int userId;
    private String username;
    private int userAge;

    public UserAlias(int userId, String username, int userAge) {
        this.userId = userId;
        this.username = username;
        this.userAge = userAge;
    }

    @Override
    public String toString() {
        return "UserAlias{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", userAge=" + userAge +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getUserAge() {
        return userAge;
    }

    public void setUserAge(int userAge) {
        this.userAge = userAge;
    }
}
